約 5,371,926 件
https://w.atwiki.jp/vocaloidchly/pages/5974.html
作詞:やいり 作曲:やいり 編曲:やいり 歌:GUMI 翻譯:唐傘小僧 空間⇔Formation ■ 某位特殊少女的歎息 ■ 我能夠將它們創造出來、 卻不知道如何去使用。 若沒有使用者、造出的東西便沒有意義和價值了、 我既膽怯又狡猾、把自己關進房間里。 然而、還是希望有人能注意到我、便在這堅墻之中呼喊。 能夠守護我的人、能夠為我所用的人、 只是、在等待他們而已。 無人知曉的 秘密處所 所有人都會 化作灰燼 想呆在你的身邊 卻無法繼續相伴 現在馬上 躲進房間 保護自己 搖蕩的 跳動 所辨明的 意義 不斷地 將每一天 掠奪而去一般 呼喊的 聲音 在房間中 迴蕩 無法忘懷 一切 都從這裡 漫溢而出的旋律 世界變得 比以往 更加蒼白 更加蒼白 現在 我的心也 依舊沒有忘記 即便緊閉在這 房間之中 將無人知曉的 秘密丟棄 所有的一切 都將化作灰燼 想呆在你的身邊 這便是愛的證明吧? 現在馬上 打破硬殼 來守護我吧 感覺得到 痛苦 眩暈 心跳 歎息 我明明 把治療藥 給你了 呼喊聲 還是 在房間中 迴響 已經能夠忘掉了吧? 一切皆屬 世界所能 想起的回憶 淚水變得 比以往 更加漆黑 更加漆黑 現在 我的心 也依舊渴求幸福 即便緊閉在這 房間之中 感知得到 我是 有多麼的 軟弱 用盡了 治療 藥品 呼喊聲 再次 在房間中 迴響 已經能夠忘掉了吧? 一切 都從這裡 漫溢而出的旋律 世界變得 比以往 更加蒼白 更加 蒼白 現在 我的心也 依舊沒有忘記 即便緊閉在這 房間之中 即便緊閉在這 房間之中
https://w.atwiki.jp/spacepirateszombies/pages/36.html
装甲 小型船以外は、装甲を取り付けることができます。 装甲は四方向別に取り付けられます。船の大きさや形状によってどの装甲がどの部分まで担当するか変わるでしょう。 取り付けられた各装甲は船にコストと重量を追加します。 原文 All but the smallest ships can have armor plating installed. Different plating types can be mounted to different quadrants of the ship. Depending on the size and shape of a ship, some armor sections tend to take more damage than others. Each installed plate will add cost and weight to the ship.
https://w.atwiki.jp/tmtbnc/pages/60.html
mp4box -h General Options Hinting Options Importing Options MPEG-4 Scene Encoding Options Meta handling Options Extracting Options Dumping Options SWF Importer Options ISMA Encryption/Decryption Options Suppported raw formats and file extensions File Streamer Options mp4box -h MP4Box [option] input [option] -h general general options help -h hint hinting options help -h import import options help -h encode encode options help -h meta meta handling options help -h extract extraction options help -h dump dump options help -h swf Flash (SWF) options help -h crypt ISMA E A options help -h format supported formats help -h rtp streamer help -nodes lists supported MPEG4 nodes -node NodeName gets MPEG4 node syntax and QP info -xnodes lists supported X3D nodes -xnode NodeName gets X3D node syntax -snodes lists supported SVG nodes -snode NodeName gets SVG node syntax -languages lists supported ISO 639 languages -quiet quiet mode -noprog disables progress -v verbose mode -version gets build version General Options -inter time_in_ms interleaves file data (track chunks of time_in_ms) * Note 1 Interleaving is 0.5s by default * Note 2 Performs drift checking accross tracks * Note 3 a value of 0 disables interleaving -old-inter time same as -inter but doesn t perform drift checking -tight performs tight interleaving (sample based) of the file * Note reduces disk seek but increases file size -flat stores file with all media data first, non-interleaved -frag time_in_ms fragments file (track fragments of time_in_ms) * Note Always disables interleaving -ffspace size inserts free space before moof in fragmented files -out filename specifies output file name * Note By default input (MP4,3GP) file is overwritten -tmp dirname specifies directory for temporary file creation * Note Default temp dir is OS-dependent -no-sys removes all MPEG-4 Systems info except IOD (profiles) * Note Set by default whith -add and -cat -no-iod removes InitialObjectDescriptor from file -isma rewrites the file as an ISMA 1.0 AV file -ismax same as -isma and removes all clock references -3gp rewrites as 3GPP(2) file (no more MPEG-4 Systems Info) * Note 1 some tracks may be removed in the process * Note 2 always on for *.3gp *.3g2 *.3gpp -ipod rewrites the file for iPod -psp rewrites the file for PSP devices -brand ABCD[ v] sets major brand of file, with optional version -ab ABCD adds given brand to file s alternate brand list -rb ABCD removes given brand from file s alternate brand list -cprt string adds copyright string to movie -chap file adds chapter information contained in file -rem trackID removes track from file -enable trackID enables track -disable trackID disables track -new forces creation of a new destination file -rem trackID removes track from file -lang [tkID=]LAN sets track language. LAN is the ISO 639-2 code (eng, und) -delay tkID=TIME sets track start delay in ms. -par tkID=PAR sets visual track pixel aspect ratio (PAR=N D or "none") -name tkID=NAME sets track handler name * NAME can indicate a UTF-8 file ("file //file name" -itags tag1[ tag2] sets iTunes tags to file - more info MP4Box -tag-list. -split time_sec splits in files of time_sec max duration * Note this removes all MPEG-4 Systems media -split-size size splits in files of max filesize kB. * Note this removes all MPEG-4 Systems media -split-chunk S E extracts a new file from Start to End (in seconds) * Note this removes all MPEG-4 Systems media -group-add fmt creates a new grouping information in the file. Format is a colon-separated list of following options refTrack=ID ID of the track used as a group reference. If not set, the track will belong to the same group as th e previous trackID specified. If 0 or no previous track specified, a new alternate grou p will be created switchID=ID ID of the switch group to create. If 0, a new ID will be computed for you If 0, disables SwitchGroup criteria=string list of space-separated 4CCs. trackID=ID ID of the track to add to this group. *WARNING* Options modify state as they are parsed trackID=1 criteria=lang trackID=2 is different from criteria=lang trackID=1 trackID=2 -group-rem-track ID removes track from its group -group-rem ID removes the track s group -group-clean removes all group information from all tracks -ref id XXXX refID adds a reference of type 4CC from track ID to track refID -dash dur enables DASH-ing of the file with a segment duration of DU R Note the duration of a fragment (subsegment) is set using the interleaver (-inter) s witch. Note You can specify -rap switch to split segments at RA P boundaries -frags-per-sidx N sets the number of segments to be written in each SIDX box If 0, SIDX box is not used -segment-name name sets the segment name for generated segments If not set (default), segments are concatenated in output file -segment-ext name sets the segment extension. Default is m4s -url-template uses UrlTemplate instead of explicit sources in segments. Ignored if segments are stored in the output file. Hinting Options Hinting Options -hint hints the file for RTP/RTSP -mtu size specifies RTP MTU (max size) in bytes. Default size is 145 0 * Note this includes the RTP header (12 bytes) -copy copies media data to hint track rather than reference * Note speeds up server but takes much more space -multi [maxptime] enables frame concatenation in RTP packets if possible maxptime max packet duration in ms (optional, default 100ms) -rate ck_rate specifies rtp rate in Hz when no default for payload * Note default value is 90000 (MPEG rtp rates) -mpeg4 forces MPEG-4 generic payload whenever possible -latm forces MPG4-LATM transport for AAC streams -static enables static RTP payload IDs whenever possible * By default, dynamic payloads are always used MPEG-4 Generic Payload Options -ocr forces all streams to be synchronized * Most RTSP servers only support synchronized streams -rap signals random access points in RTP packets -ts signals AU Time Stamps in RTP packets -size signals AU size in RTP packets -idx signals AU sequence numbers in RTP packets -iod prevents systems tracks embedding in IOD * Note shouldn t be used with -isma option -add-sdp string adds sdp string to (hint) track ("-add-sdp tkID string") or movie. This will take care of SDP lines ordering -unhint removes all hinting information. Importing Options Importing Options File importing syntax "#video" "#audio" base import for most AV files "#trackID=ID" track import for IsoMedia and other files "#pid=ID" stream import from MPEG-2 TS " dur=D" imports only the first D seconds " lang=LAN" sets imported media language code " delay=delay_ms" sets imported media initial delay in ms " par=PAR" sets visual pixel aspect ratio (PAR=Num Den) " name=NAME" sets track handler name " ext=EXT" overrides file extension when importing " hdlr=code" sets track handler type to the given code point (4CC) " disable" imported track(s) will be disabled " group=G" adds the track as part of the G alternate group. If G is 0, the first available GroupID will be picked. " fps=VAL" same as -fps option " agg=VAL" same as -agg option " par=VAL" same as -par option " dref" same as -dref option " nodrop" same as -nodrop option " packed" same as -packed option " sbr" same as -sbr option " sbrx" same as -sbrx option " ps" same as -ps option " psx" same as -psx option " ovsbr" same as -ovsbr option " mpeg4" same as -mpeg4 option " font=name" specifies font name for text import (default "Serif") " size=s" specifies font size for text import (default 18) " stype=4CC" forces the sample description type to a different value !! THIS MAY BREAK THE FILE WRITING !! " chap" specifies the track is a chapter track " profile" forces the profile for the H.264 content - high444, high, extended, main, baseline *WARNING* wrong value may cause playback issue " compat" forces the profile compatibity flags for the H.264 content *WARNING* wrong value may cause playback issue " level" forces the level for the H.264 content *Note If value 6, interpreted as decimal expression " vidformat" forces the video_format flag in VUI for the H.264 content - component, pal, ntsc, secam, mac, undef " fullrange" forces the video_full_range_flag in VUI for the H.264 cont ent - on, off " colorprim" forces the colour_primaries flag in VUI for the H.264 cont ent - bt709, undef, bt470m, bt470bg, smpte170m, smpte240m, film " transfer" forces the transfer_characteristics flag in VUI for the H. 264 content - bt709, undef, bt470m, bt470bg, smpte170m, smpte240m, linear log100, log316 " colmatrix" forces the matrix_coefficients flag in VUI for the H.264 c ontent - GBR, bt709, undef, fcc, bt470bg, smpte170m, smpte240m , YCgCo " layout=WxHxXxY" specifies the track layout - if W (resp H) = 0, the max width (resp height) of the tracks in the file are used. - if Y=-1, the layout is moved to the bottom of the track area - X and Y can be omitted ( layout=WxH) -add file add file tracks to (new) output file -cat file concatenates file samples to (new) output file * Note creates tracks if needed -force-cat skips media configuration check when concatenating file !!! THIS MAY BREAK THE CONCATENATED TRACK(S) !!! -keep-sys keeps all MPEG-4 Systems info when using -add / cat -keep-all keeps all existing tracks when using -add * Note only used when adding IsoMedia files All the following options can be specified as default or for each track. When specified by track the syntax is " opt" or " opt=val". -dref keeps media data in original file -no-drop forces constant FPS when importing AVI video -packed forces packed bitstream when importing raw ASP -sbr backward compatible signaling of AAC-SBR -sbrx non-backward compatible signaling of AAC-SBR -ps backward compatible signaling of AAC-PS -psx non-backward compatible signaling of AAC-PS -ovsbr oversample SBR * Note SBR AAC, PS AAC and oversampled SBR cannot be d etected at import time -fps FPS forces frame rate for video and SUB subtitles import FPS is either a number or expressed as timescale-increm ent * For raw H263 import, default FPS is 15 * For all other imports, default FPS is 25 !! THIS IS IGNORED FOR IsoMedia IMPORT !! -mpeg4 forces MPEG-4 sample descriptions when possible (3GPP2) For AAC, forces MPEG-4 AAC signaling even if MPEG-2 -agg N aggregates N audio frames in 1 sample (3GP media only) * Note Maximum value is 15 - Disabled by default MPEG-4 Scene Encoding Options MPEG-4 Scene Encoding Options -mp4 specify input file is for encoding. -def encode DEF names -sync time_in_ms forces BIFS sync sample generation every time_in_ms * Note cannot be used with -shadow -shadow time_ms forces BIFS sync shadow sample generation every time_ms. * Note cannot be used with -sync -log generates scene codec log file if available -ms file specifies file for track importing Chunk Processing -ctx-in file specifies initial context (MP4/BT/XMT) * Note input file must be a commands-only file -ctx-out file specifies storage of updated context (MP4/BT/XMT) LASeR Encoding options -resolution res resolution factor (-8 to 7, default 0) all coords are multiplied by 2^res before truncation -coord-bits bits bits used for encoding truncated coordinates (0 to 31, default 12) -scale-bits bits extra bits used for encoding truncated scales (0 to 4, default 0) -auto-quant res resolution is given as if using -resolution but coord-bits and scale-bits are infered Meta handling Options Meta handling Options -set-meta args sets given meta type - syntax "ABCD[ tk=ID]" * ABCD four char meta type (NULL or 0 to remove meta) * [ tk=ID] if not set use root (file) meta if ID is 0 use moov meta if ID is not 0 use track meta -add-item args adds resource to meta * syntax file_path + options ( separated) tk=ID meta adressing (file, moov, track) name=str item name mime=mtype item mime type encoding=enctype item content-encoding type * file_path "this" or "self" item is the file itself -rem-item args removes resource from meta - syntax item_ID[ tk=ID] -set-primary args sets item as primary for meta - syntax item_ID[ tk=ID] -set-xml args sets meta XML data * syntax xml_file_path[ tk=ID][ binary] -rem-xml [tk=ID] removes meta XML data -dump-xml args dumps meta XML to file - syntax file_path[ tk=ID] -dump-item args dumps item to file - syntax item_ID[ tk=ID][ path=fileName ] -package packages input XML file into an ISO container * all media referenced except hyperlinks are added to fil e Extracting Options Extracting Options -raw TrackID extracts track in raw format when supported -raws TrackID extract each track sample to a file * Note "TrackID N" extracts Nth sample -nhnt TrackID extracts track in nhnt format -nhml TrackID extracts track in nhml format (XML nhnt). * Note "-nhml +TrackID" for full dump -single TrackID extracts track to a new mp4 file -avi TrackID extracts visual track to an avi file -qcp TrackID same as -raw but defaults to QCP file for EVRC/SMV -aviraw TK extracts AVI track in raw format $TK can be one of "video" "audio" "audioN" -saf remux file to SAF multiplex -dvbhdemux demux DVB-H file into IP Datagrams * Note can be used when encoding scene descriptions -diod extracts file IOD in raw format when supported Dumping Options Dumping Options -std dumps to stdout instead of file -info [trackID] prints movie info / track info if trackID specified * Note for non IsoMedia files, gets import options -bt scene to bt format - removes unknown MPEG4 nodes -xmt scene to XMT-A format - removes unknown MPEG4 nodes -wrl scene VRML format - removes unknown VRML nodes -x3d scene to X3D/XML format - removes unknown X3D nodes -x3dv scene to X3D/VRML format - removes unknown X3D nodes -lsr scene to LASeR format -diso scene IsoMedia file boxes in XML output -drtp rtp hint samples structure to XML output -dts prints sample timing to text output -sdp dumps SDP description of hinted file -dcr ISMACryp samples structure to XML output -dump-cover Extracts cover art -dump-chap Extracts chapter file -ttxt Converts input subtitle to GPAC TTXT format -ttxt TrackID Dumps Text track to GPAC TTXT format -srt Converts input subtitle to SRT format -srt TrackID Dumps Text track to SRT format -stat generates node/field statistics for scene -stats generates node/field statistics per MPEG-4 Access Unit -statx generates node/field statistics for scene after each AU -hash generates SHA-1 Hash of the input file SWF Importer Options SWF Importer Options MP4Box can import simple Macromedia Flash files (".SWF") You can specify a SWF input file with -bt , xmt and -mp4 options -global all SWF defines are placed in first scene replace * Note By default SWF defines are sent when needed -no-ctrl uses a single stream for movie control and dictionary * Note this will disable ActionScript -no-text removes all SWF text -no-font removes all embedded SWF Fonts (terminal fonts used) -no-line removes all lines from SWF shapes -no-grad removes all gradients from swf shapes -quad uses quadratic bezier curves instead of cubic ones -xlp support for lines transparency and scalability -flatten ang complementary angle below which 2 lines are merged * Note angle 0 means no flattening ISMA Encryption/Decryption Options ISMA Encryption/Decryption Options -crypt drm_file crypts a specific track using ISMA AES CTR 128 -decrypt [drm_file] decrypts a specific track using ISMA AES CTR 128 * Note drm_file can be omitted if keys are in file -set-kms kms_uri changes KMS location for all tracks or a given one. * to adress a track, use tkID=kms_uri DRM file syntax for GPAC ISMACryp File is XML and shall start with xml header File root is an "ISMACryp" element File is a list of "ISMACrypTrack" elements ISMACrypTrack attributes are TrackID ID of track to en/decrypt key AES-128 key formatted (hex string 0x +32 chars) salt CTR IV salt key (64 bits) (hex string 0x +16 chars) Encryption only attributes Scheme_URI URI of scheme used KMS_URI URI of key management system * Note self writes key and salt in the file selectiveType selective encryption type - understood values are "None" all samples encrypted (default) "RAP" only encrypts random access units "Non-RAP" only encrypts non-random access units "Rand" random selection is performed "X" Encrypts every first sample out of X (uint) "RandX" Encrypts one random sample out of X (uint) ipmpType IPMP Signaling Type None, IPMP, IPMPX ipmpDescriptorID IPMP_Descriptor ID to use if IPMP(X) is used * If not set MP4Box will generate one for you Suppported raw formats and file extensions Suppported raw formats and file extensions NHNT .media .nhnt .info NHML .nhml (opt .media .info) MPEG-1-2 Video .m1v .m2v MPEG-4 Video .cmp .m4v H263 Video .263 .h263 AVC/H264 Video .h264 .h26L .264 .26L JPEG Images .jpg .jpeg PNG Images .png MPEG 1-2 Audio .mp3, .m1a, .m2a ADTS-AAC Audio .aac AMR(WB) Audio .amr .awb EVRC Audio .evc SMV Audio .smv Supported containers and file extensions AVI .avi MPEG-2 PS .mpg .mpeg .vob .vcd .svcd MPEG-2 TS .ts .m2t QCP .qcp OGG .ogg ISO-Media files no extension checking Supported text formats SRT Subtitles .srt SUB Subtitles .sub GPAC Timed Text .ttxt QuickTime TeXML Text .xml (cf QT documentation) Supported Scene formats MPEG-4 XMT-A .xmt .xmta .xmt.gz .xmta.gz MPEG-4 BT .bt .bt.gz VRML .wrl .wrl.gz X3D-XML .x3d .x3d.gz X3D-VRML .x3dv .x3dv.gz MacroMedia Flash .swf (very limitted import support only) File Streamer Options File Streamer Options MP4Box can stream ISO files to RTP. The streamer currently doesn t support data carrouselling and will therefore not handle BIFS and OD streams properly. -rtp enables streamer -noloop disables looping when streaming -mpeg4 forces MPEG-4 ES Generic for all RTP streams -dst=IP IP destination (uni/multi-cast). Default 127.0.0.1 -port=PORT output port of the first stream. Default 7000 -mtu=MTU path MTU for RTP packets. Default is 1450 bytes -ifce=IFCE IP address of the physical interface to use. Default NULL (ANY) -ttl=TTL time to live for multicast packets. Default 1 -sdp=Name file name of the generated SDP. Default "session.sdp"
https://w.atwiki.jp/materials-apple/pages/19.html
Mango Guide to English Grammar This web site uses only Japanese . This web site helps us to study English Grammars . This web site can study not only English grammars , but also English conversation . This web site can read many example using grammars . Because This web site writes Japanese , so Japanese can understand the English grammar easy . Comment It is very easy to study. It can find to do soon. It can study many things. It advice me to study about English.I like it. Comment An English method is written in detail,and it is comprehensible. Moreover, it is easy to study because it is written in Japanese. Comment It is a very useful site. This site teaches us how to study English. I thought if you want to make a successful plan studying English, you should use it for once. This is “Toeic Square”. The website’s major aim is to study for toeic exam. The website can listen to English, study for toeic, writing, speaking, can use to train for toeic. It teaches me toeic’s important things. We can learn a lot of things. The website can use English and Japanese. Comment This website is very fun!! Toeic is important to find our employment . This website helps us to do it . And listening game is very fun!! I like this game!! Comment The speak from experience of Toeic can be heard, and the exercise can be solved. And, the doubt concerning Toeic can be solved here. Comment This site teaches you that your English level and supports studying English It is good that this site has a lot of category and very kind for beginner. This website name is world-english. This website main goals are linguistic activity of English. You can English study and test for grammar and word. In addition to listen to English news and radio, and to play English puzzle and quiz. If you want to talk foreign people, you can change e-mail with them. This website divides up so many English study category. So you can study English for your English level. Always this website is written in English, but you can read in Japanese. Comment This website has a lot of topics of English . I think If I use this website a few month , my English level will become more high level . This web site is very Nice! Comment This website is very difficult. But it is very detailed.It has a lot of topics. And it can study a lot of things.It can possible to play. Comment An English grammar can be studied in detail. And an English vocabulary can be studied while playing in the puzzle and the game. It is a very useful site to study. a) http //www.english-net.co.jp/~duke/chat.htm Front page b) To find someone to chat with in English c) It is possible to chat with the foreigner. And the English conversation lesson can be done. d) The chatting room has divided into three, and it divides by the difficulty. e) Japanese only Comment I think this website is very good for study English . Chat is the same as Speaking . Speaking English helps us to become more high level for our English level . This website is very Nice . But I am too shy to use this website . Comment I like the best website. This website can communicate some people. It is very fun.It feel to chat native American. I feel to be going America.It is very fresh. This site has three chat rooms. You can talk with many people in English. There is a beginner room is very good. English beginner can be ready to join it is important I think. Comment I think that this website is the best. This website can chat. I like to chat some foreign people. To chat is very fun. In this website some people are unique. And I think that I want to go to America. So I like this website. \Comment This website can chat. To chat is very fun. In this website some people are unique. You can speak with natural America’s English. This website is divided English level. When you tired, this website has Japanese room. So you can take a rest. Comment This website can chat with the foreigner. It divides in three types.English conversation lesson can be do.
https://w.atwiki.jp/touhoukashi/pages/6026.html
【登録タグ Stack ま ブラブラブラ! 妖魔夜行 暁Records 曲】 【注意】 現在、このページはJavaScriptの利用が一時制限されています。この表示状態ではトラック情報が正しく表示されません。 この問題は、以下のいずれかが原因となっています。 ページがAMP表示となっている ウィキ内検索からページを表示している これを解決するには、こちらをクリックし、ページを通常表示にしてください。 /** General styling **/ @font-face { font-family Noto Sans JP ; font-display swap; font-style normal; font-weight 350; src url(https //img.atwikiimg.com/www31.atwiki.jp/touhoukashi/attach/2972/10/NotoSansCJKjp-DemiLight.woff2) format( woff2 ), url(https //img.atwikiimg.com/www31.atwiki.jp/touhoukashi/attach/2972/9/NotoSansCJKjp-DemiLight.woff) format( woff ), url(https //img.atwikiimg.com/www31.atwiki.jp/touhoukashi/attach/2972/8/NotoSansCJKjp-DemiLight.ttf) format( truetype ); } @font-face { font-family Noto Sans JP ; font-display swap; font-style normal; font-weight bold; src url(https //img.atwikiimg.com/www31.atwiki.jp/touhoukashi/attach/2972/13/NotoSansCJKjp-Medium.woff2) format( woff2 ), url(https //img.atwikiimg.com/www31.atwiki.jp/touhoukashi/attach/2972/12/NotoSansCJKjp-Medium.woff) format( woff ), url(https //img.atwikiimg.com/www31.atwiki.jp/touhoukashi/attach/2972/11/NotoSansCJKjp-Medium.ttf) format( truetype ); } rt { font-family Arial, Verdana, Helvetica, sans-serif; } /** Main table styling **/ #trackinfo, #lyrics { font-family Noto Sans JP , sans-serif; font-weight 350; } .track_number { font-family Rockwell; font-weight bold; } .track_number after { content . ; } #track_args, .amp_text { display none; } #trackinfo { position relative; float right; margin 0 0 1em 1em; padding 0.3em; width 320px; border-collapse separate; border-radius 5px; border-spacing 0; background-color #F9F9F9; font-size 90%; line-height 1.4em; } #trackinfo th { white-space nowrap; } #trackinfo th, #trackinfo td { border none !important; } #trackinfo thead th { background-color #D8D8D8; box-shadow 0 -3px #F9F9F9 inset; padding 4px 2.5em 7px; white-space normal; font-size 120%; text-align center; } .trackrow { background-color #F0F0F0; box-shadow 0 2px #F9F9F9 inset, 0 -2px #F9F9F9 inset; } #trackinfo td ul { margin 0; padding 0; list-style none; } #trackinfo li { line-height 16px; } #trackinfo li nth-of-type(n+2) { margin-top 6px; } #trackinfo dl { margin 0; } #trackinfo dt { font-size small; font-weight bold; } #trackinfo dd { margin-left 1.2em; } #trackinfo dd + dt { margin-top .5em; } #trackinfo_help { position absolute; top 3px; right 8px; font-size 80%; } /** Media styling **/ #trackinfo .media th { background-color #D8D8D8; padding 4px 0; font-size 95%; text-align center; } .media td { padding 0 2px; } .media iframe nth-of-type(n+2) { margin-top 0.3em; } .youtube + .nicovideo, .youtube + .soundcloud, .nicovideo + .soundcloud { margin-top 0.75em; } .media_section { display flex; align-items center; text-align center; } .media_section before, .media_section after { display block; flex-grow 1; content ; height 1px; } .media_section before { margin-right 0.5em; background linear-gradient(-90deg, #888, transparent); } .media_section after { margin-left 0.5em; background linear-gradient(90deg, #888, transparent); } .media_notice { color firebrick; font-size 77.5%; } /** Around track styling **/ .next-track { float right; } /** Infomation styling **/ #trackinfo .info_header th { padding .3em .5em; background-color #D8D8D8; font-size 95%; } #trackinfo .infomation_show_btn_wrapper { float right; font-size 12px; user-select none; } #trackinfo .infomation_show_btn { cursor pointer; } #trackinfo .info_content td { padding 0 0 0 5px; height 0; transition .3s; } #trackinfo .info_content ul { padding 0; margin 0; max-height 0; list-style initial; transition .3s; } #trackinfo .info_content li { opacity 0; visibility hidden; margin 0 0 0 1.5em; transition .3s, opacity .2s; } #trackinfo .info_content.infomation_show td { padding 5px; height 100%; } #trackinfo .info_content.infomation_show ul { padding 5px 0; max-height 50em; } #trackinfo .info_content.infomation_show li { opacity 1; visibility visible; } #trackinfo .info_content.infomation_show li nth-of-type(n+2) { margin-top 10px; } /** Lyrics styling **/ #lyrics { font-size 1.06em; line-height 1.6em; } .not_in_card, .inaudible { display inline; position relative; } .not_in_card { border-bottom dashed 1px #D0D0D0; } .tooltip { display flex; visibility hidden; position absolute; top -42.5px; left 0; width 275px; min-height 20px; max-height 100px; padding 10px; border-radius 5px; background-color #555; align-items center; color #FFF; font-size 85%; line-height 20px; text-align center; white-space nowrap; opacity 0; transition 0.7s; -webkit-user-select none; -moz-user-select none; -ms-user-select none; user-select none; } .inaudible .tooltip { top -68.5px; } span hover + .tooltip { visibility visible; top -47.5px; opacity 0.8; transition 0.3s; } .inaudible span hover + .tooltip { top -73.5px; } .not_in_card span.hide { top -42.5px; opacity 0; transition 0.7s; } .inaudible .img { display inline-block; width 3.45em; height 1.25em; margin-right 4px; margin-bottom -3.5px; margin-left 4px; background-image url(https //img.atwikiimg.com/www31.atwiki.jp/touhoukashi/attach/2971/7/Inaudible.png); background-size contain; background-repeat no-repeat; } .not_in_card after, .inaudible .img after { content ; visibility hidden; position absolute; top -8.5px; left 42.5%; border-width 5px; border-style solid; border-color #555 transparent transparent transparent; opacity 0; transition 0.7s; } .not_in_card hover after, .inaudible .img hover after { content ; visibility visible; top -13.5px; left 42.5%; opacity 0.8; transition 0.3s; } .not_in_card after { top -2.5px; left 50%; } .not_in_card hover after { top -7.5px; left 50%; } .not_in_card.hide after { visibility hidden; top -2.5px; opacity 0; transition 0.7s; } /** For mobile device styling **/ .uk-overflow-container { display inline; } #trackinfo.mobile { display table; float none; width 100%; margin auto; margin-bottom 1em; } #trackinfo.mobile th { text-transform none; } #trackinfo.mobile tbody tr not(.media) th { text-align left; background-color unset; } #trackinfo.mobile td { white-space normal; } document.addEventListener( DOMContentLoaded , function() { use strict ; const headers = { title アルバム別曲名 , album アルバム , circle サークル , vocal Vocal , lyric Lyric , chorus Chorus , narrator Narration , rap Rap , voice Voice , whistle Whistle (口笛) , translate Translation (翻訳) , arrange Arrange , artist Artist , bass Bass , cajon Cajon (カホン) , drum Drum , guitar Guitar , keyboard Keyboard , mc MC , mix Mix , piano Piano , sax Sax , strings Strings , synthesizer Synthesizer , trumpet Trumpet , violin Violin , original 原曲 , image_song イメージ曲 }; const rPagename = /(?=^|.*
https://w.atwiki.jp/crowliascreate/pages/18.html
Top secret!! Codename Kurotoki_Reizi appearance day 2016/5/XX Place Japan,Yokosuka Age(truth) 18 Age(material) 20 From EARTH#glitch navy To EARTH#AOT(#ED331465) life date Auto_write QUALIA axis Priset=A S.C.T. MURAKUMO_7-D_connecting_system Class CROW_NOSURGE TNGhray SH13960_Ch(0x8FCF) (Tes-toron-Nh-Ge-no-me Hyu-me-lics Ri-ri-rye Ah-ruc-ih Yash) GENOMALKIA -Inter_diment_system_1.22β 7-D connection system [CLORGE-OS] Re-Writing Cycle Modules メモ書き Age 年齢 transformation data 転生データ appearance day 出現日 Life data 人生設計 Auto write 自動設計 Qualia axis 第六軸座標操作による潜在的感覚及び意識の操作 これにより人間の思想、意識、記憶等と操作できる Priset=A 該当転生者の存在を一般的に認識可能にする 事前データにおけるtruthとmaterialの区別は担当官に任せる 警告 第六軸操作の濫用は絶対するな 六軸移動実験を行う場合、必ず監督官をつけること ※各軸名の横に書かれてるタグダンプは識別コードです EarthAOT(#ED331465) 別称:正史AOT レヴィタール創作世界における正史地球 黒時兄妹や白露一家が“本来”住んでる世界線 黒時分家が消滅し、兄妹の親が殺されている だが基本的な文化基準や宗教概念、正史等は現代地球とさして変わらない 2019/2/8現在、観測者たる作者達が住む現実地球と各国の経済情報などは ポーランド戦争終結辺りを除いては誤差程度に収まっている 礼司や千草が普段指す地球はこっちにあたる 現代地球との差異 2000年代のポーランド代理戦争 2016年のアメリカ大不況 陰陽師や妖怪の実在 魔法の存在証明(UMA程に写真とかも出てきている) 夜泉華狼及びその一族が裏社会で暮らしている 浜崎の眩む群青(#121E89FE) クロウリア…もとい黒野賀彰が生まれた世界線 EarthAOTから分岐したもの 正史AOTとは違い横島という島が東京近海に見つかっている 詳しい設定は浜崎構想メモにて Glitch navy(#BC33EA21_Gr) 2014年、突如深海棲艦が出現し地球の海洋を支配したEarthAOT 黒時美柑は深海棲艦日本強襲の際に死亡 その復讐をするため提督に就任 艦娘概念の確立は白露一家が関わっている 技術のベースは陰陽師の技術を使用している その後MI諸島攻略作戦に置いてヘイウッドと邂逅する その史実は横須賀奇襲まで流れるが、そこから先の観測結果が途絶えている (※この観測世界線は他作者における艦これ世界観と平行世界にあたるものであり決して直接的な接点はないことを理解して欲しい) オールキャラ生存ルート(#AC2231CB2) 黒時分家の存在、黒時一家全員存在等 正史から少しズレた可能性を辿った世界 ジェノマルキアのメモには「不可逆な幸福世界」と記されている 現在観測されている地球世界の人間(未来人やヴェルテール人は除く)は 全員生存していることを観測している 座標はグリッチネイビーと正史AOTとの間に位置する コーラップスの嵐(#BC983AA4) ドールズフロントラインの世界をベースに構築されている世界 台湾沖の島で起きたコーラップス粒子の大量漏出による大規模世界崩壊事件 それによる汚染でコーラップスゾンビであるE.L.I.D.(広域性低放射感染症)等により生存圏を狭まれ 発生した世界の国家機構壊滅の原因である「第三次世界大戦」 二度の大規模なコーラップスと核の汚染により世紀末じみた様子を見せている 黒時一家、白露一家は壊滅を確認。天ヶ原一家の存続は不明 夜泉一族は陰の生活により華狼を含め生存を確認 観測自体は2060年付近まで終了している その分岐はグリッジネイビーで、分岐時期は不明 現在確認済の世界線で一番観測の進んだ世界線である 染血戦線(#CC23A12BA) 神獄塔メアリスケルターをベースに構築されている世界 黎明解放戦線が監獄塔ジェイルを中心とした地下世界で奮闘している この世界において大半の地球キャラが生存しているかは不明 各軸座標は観測されているが、 時間軸のみが何故か観測ジャミングにより測定できなくなっている 第三世界ヴェルテール(タグダンプ不明) 獣人が首位を取り牛耳る平行世界 ちょっとした説明はこちら
https://w.atwiki.jp/tounderlinedk/pages/44.html
Date order ≪△ (Japanese) 2010 2009 2008 works 2010t7e. Range of voice - The vocaloid spirit (English Sub) 2009t7. Range of voice - The vocaloid spirit (No Sub Version) t6. History of the synapse t5. Visual Test - Alpha m3. mind skip m2. Bloom,iQ m1. After Blue t4. LET S BEGIN OUR MUSIC 2008t3. Sound Test 2- Octave (Piano Version) t2. Sound Test 1- Intervals 6. Stop picking on my sister (Rap) 5. Fantastic cooking -2- Look for Legendary food (Rock) t1. We make musics as this 4. Meet (Rock) 3. Germination, a matter of sun and death (Rock) 2. want to say, to telephon-chan (Rap) 1. Fair, before thunder(Children s song) Tags Work WorkSearch by Singer Search by Performer Date Order WelcomeAbout Exhibition space Work LinksSearch Japanese Version page view( - ) Copyright ©2008-2009 to_dk.
https://w.atwiki.jp/teematsu/pages/62.html
ffmpeg 備考 mp4box 概要情報 トラックのより詳細な情報 box構成をXMLで出力 備考 mp4のフォーマット 基本事項 構成概略 T-01Cで録画した.3gpの例 動画ファイル(主に、mp4)の情報を調べる方法 ffmpeg ffmpeg -i file.ext 表示例 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from niwa.3gp Duration 00 00 17.02, start 0.000000, bitrate 6209 kb/s Stream #0.0(eng) Video mpeg4, yuv420p, 848x480 [PAR 1 1 DAR 53 30], 60 tbr , 1k tbn, 60 tbc Stream #0.1(eng) Audio aac, 48000 Hz, stereo, s16 備考 マニュアル日本語訳 Windows版は、例えば、WinFFに添付のものを利用できる。 mp4box 概要情報 mp4box -info file.ext 表示例 [iso file] Box "gnre" has 6 extra bytes * Movie Info * Timescale 1000 - Duration 00 00 17.028 Fragmented File no - 2 track(s) File Brand 3gp4 - version 768 Created GMT Mon Feb 21 02 35 57 2011 File has no MPEG4 IOD/OD Copyrights (und) 〓 Track # 1 Info - TrackID 1 - TimeScale 1000 - Duration 00 00 17.028 Media Info Language "Undetermined" - Type "vide mp4v" - 506 samples MPEG-4 Config Visual Stream - ObjectTypeIndication 0x20 MPEG-4 Visual Size 848 x 480 - ISO Reserved Profile Pixel Aspect Ratio 1 1 - Indicated track size 848 x 480 Self-synchronized Track # 2 Info - TrackID 2 - TimeScale 1000 - Duration 00 00 16.916 Media Info Language "Undetermined" - Type "soun mp4a" - 793 samples MPEG-4 Config Audio Stream - ObjectTypeIndication 0x40 MPEG-4 Audio AAC LC - 2 Channel(s) - SampleRate 48000 Synchronized on stream 1 ※ この例の場合動画ファイルに設定されているCopyrightsがおかしいため表示が化けている。 TimeScale内部で時刻/時間を表現するときの単位を1秒の何分の1にするかを指定(らしい)。この例では1msec単位となる。 トラックのより詳細な情報 mp4box -info 1 file.ext 1の部分はトラック番号を指定 表示例 [iso file] Box "gnre" has 6 extra bytes Track # 1 Info - TrackID 1 - TimeScale 1000 - Duration 00 00 17.028 Media Info Language "Undetermined" - Type "vide mp4v" - 506 samples Handler name VideoHandler MPEG-4 Config Visual Stream - ObjectTypeIndication 0x20 MPEG-4 Visual Size 848 x 480 - ISO Reserved Profile Pixel Aspect Ratio 1 1 - Indicated track size 848 x 480 Decoding Buffer size 73489 - Average bitrate 6000 kbps - Max Bitrate 600 0 kbps No stream dependencies for decoding StreamPriority 0 Computed info from media Total size 12813185 bytes - Total samples duration 16995 ms Average rate 6406 kbps - Max Rate 6455 kbps box構成をXMLで出力 mp4box -diso file.ext (file_info.xmlに出力) mp4box -diso -std file.ext (標準出力に出力) 出力例 ?xml version="1.0" encoding="UTF-8"? !--MP4Box dump trace-- IsoMediaFile Name="niwa.3gp" FileTypeBox MajorBrand="3gp4" MinorVersion="768" BoxInfo Size="28" Type="ftyp"/ BrandEntry AlternateBrand="3gp4"/ BrandEntry AlternateBrand="mp41"/ BrandEntry AlternateBrand="3gp6"/ /FileTypeBox MediaDataBox dataSize="13203670" BoxInfo Size="13203678" Type="mdat"/ /MediaDataBox MovieBox (略) インデントはしてくれない。 udta (UserDataBox)は、実際はtrakより前にある場合でも、XMLではtrakの後ろに出力されてしまうようだ。 備考 マニュアル 本家 日本語訳 Windows版は、例えば、Yambに添付のものを利用できる。 mp4のフォーマット 基本事項 FFmpegで変換した3GPP動画をNTTドコモiモーションのストリーミング再生に対応させる (for Linux) 携帯ゲーム機PSPの動画ファイル「MP4」とは何か 構成概略 mp4 +-- track 1 トラック | +-- media メディア これはトラックにつき1個 | +-- chunk 1 sampleの塊 | | +- sample 1 動画ならフレーム | | +- sample 2 | | +- ... | +-- chunk 2 | +-- ... +-- track 2 +-- ... trackは、1がビデオで2がオーディオ、など。 sampleはchunkにグルーピングされ、chunkの連なりでビデオ全体またはオーディオ全体となる。 オーディオがステレオの場合にどう表現されるかは? 少なくとも別トラックになるわけではない模様。 T-01Cで録画した.3gpの例 内容の説明は、前記「携帯ゲーム機PSPの動画ファイル「MP4」とは何か」を参考に記載。 ボックスの種類 mp4box -disoのXMLのタグ名 内容 ftyp FileTypeBox 互換性情報 MajorBrand 3gp4 MinorVersion 768 AlternateBrand 3gp4, mp41, 3gp6 mdat MediaDataBox ビデオ、オーディオのバイト列(本体) ここのサイズがとても大きい moov MovieBox mvhd MovieHeaderBox ムービーのヘッダ 長さ(時間)、更新時刻、 TimeScale(時間を指定するときの単位) udta UserDataBox タイトル、製作者などの情報? mp4boxの-disoで出力したXMLでは2つのtrakの後にあるが 実際にはこの位置に存在 cprt CopyrightBox auth UnknownBox titl UnknownBox dscp UnknownBox perf UnknownBox gnre GenreBox rtng UnknownBox clsf UnknownBox kywd UnknownBox loci UnknownBox albm UnknownBox yrrc UnknownBox trak TrackBox トラック tkhd TrackHeaderBox トラックのヘッダ 長さ(時間)、更新時刻、 縦横ドット数、 mdia MediaBox メディア mdhd MediaHeaderBox メディアのヘッダ 長さ(時間)、更新時刻、言語?など TimeScale(時間を指定するときの単位) hdlr MediaHeaderBox メディアの種類(ビデオかオーディオか) ここの場合はビデオ minf MediaInformationBox vmhd VideoMediaHeaderBox ビデオトラックデータ固有の情報 らしいが実質的なデータは持っていない? dinf DataInformationBox トラックデータの存在場所の情報 dref DataReferenceBox url URLDataEntryBox ファイル外部にデータ本体があるときはそのURL? ファイル内部にあるためか実質的データはなし。 stbl SampleTableBox stsd SampleDescriptionBox エンコーディングの情報? mp4v MPEGVisualSampleDescriptionBox エンコーディングのパラメータ? 幅高さ、DPI、色深度 esds MPEG4ESDescriptorBox エンコーディングのパラメータ? ビットレートなど stts TimeToSampleBox 各sampleの再生時間の一覧 stss SyncSampleBox トラックデータのランダムアクセス可能な位置 (フレーム番号)の一覧 stsc SampleToChunkBox 各chunkのsample数の一覧 stsz SampleSizeBox 各sampleのバイト長 stco ChunkOffsetBox 各chunkのバイト位置(ファイルの先頭を0とする) trak TrackBox tkhd TrackHeaderBox トラックのヘッダ 長さ(時間)、ボリューム mdia MediaBox メディア mdhd MediaHeaderBox メディアのヘッダ 長さ(時間)、更新時刻、言語?など 時間を指定するときの単位 hdlr MediaHeaderBox メディアの種類(ビデオかオーディオか) ここの場合はオーディオ minf MediaInformationBox smhd SoundMediaHeaderBox オーディオトラックデータ固有の情報 dinf DataInformationBox トラックデータの存在場所の情報 dref DataReferenceBox url URLDataEntryBox ファイル外部にデータ本体があるときはそのURL? ファイル内部にあるためか実質的データはなし。 stbl SampleTableBox stsd SampleDescriptionBox エンコーディングの情報? mp4a MPEGAudioSampleDescriptionBox エンコーディングのパラメータ? サンプリングレート(=1000)、チャンネル数(=2) サンプルのビット数(=16) esds MPEG4ESDescriptorBox エンコーディングのパラメータ? ビットレートなど ビデオと同じBOXが使われている(esds) stts TimeToSampleBox 各sampleの再生時間の一覧 stsc SampleToChunkBox 各chunkのsample数の一覧 stsz SampleSizeBox 各sampleのバイト長 stco ChunkOffsetBox 各chunkのバイト位置(ファイルの先頭を0とする) stblに出現するstts, stsc, stsz, stcoは、おそらく以下の関係にあるのだろう。 バイト数/位置の情報 時間の情報 -- +------+--------+ ← stcoのエントリで ↑ |chunk |sample | chunkのファイル内バイト位置を | | | stscの | +--------+ -- -- エントリで | |sample | ↑stszのエントリで ↑sttsのエントリで chunk内の | | | ↓ sampleのサイズを ↓ sampleの再生時間を sample数を | +--------+ -- -- | |sample | | +--------+ | |sample | | +--------+ ↓ | |sample | -- +------+--------+ ← stcoのエントリ |chunk |sample | | +--------+ | |sample | +------+--------+ ← stcoのエントリ |chunk |sample | | +--------+ ... ..... stssはビデオのほうのみ存在。各エントリーはsampleの番号をさし、1,30,60,90,と30置きになっているが、sampleのサイズから判断してキーフレームが30置きに出現しているわけでもなさそうで、stssが指す先は必ずしもキーフレームではなさそう。 ビデオとオーディオはすでにインターリーブされている。mdat中にビデオのchunk1個とオーディオのチャンク2個(最後だけ1個)が交互に出現。 名前 コメント
https://w.atwiki.jp/opengl/pages/232.html
sin波状にボリュームを変化させます。 #include stdio.h #include stdlib.h #include string.h #include algorithm using namespace std; #define INFileName in.wav #define OUTFileName sinamp.wav #define PAI 3.141592653589793 #define Length 0.01 // defines #define STR_RIFF RIFF #define STR_WAVE WAVE #define STR_fmt fmt #define STR_data data #define WAV_MONAURAL 1 #define WAV_STEREO 2 #pragma pack(push,1) struct WaveFileHeader{ char Riff[4]; // RIFFヘッダ unsigned int FileSize; // ファイルサイズ - 8 char Wave[4]; // WAVEヘッダ }; struct TagChank{ unsigned char Fmt[4]; // fmt チャンク unsigned int FmtSize; // fmt チャンクのバイト数 }; struct WaveFormat{ unsigned short FormatTag; // フォーマットID unsigned short Channels; // チャンネル数 unsigned int SamplingRate; // サンプリングレート unsigned int BytesPerSec; // データ速度 (Byte/sec) unsigned short BlockAlign; // ブロックサイズ unsigned short BitsPerSample; // サンプルあたりのビット数 }; struct WrSWaveFileHeader { unsigned char hdrRiff[4]; // RIFF unsigned int sizeOfFile; // ファイルサイズ - 8 unsigned char hdrWave[4]; // WAVE unsigned char hdrFmt[4]; // fmt unsigned int sizeOfFmt; // sizeof( PCMWAVEFORMAT ) struct { unsigned short formatTag; // WAVE_FORMAT_PCM unsigned short channels; // number of channels unsigned int samplesPerSec; // sampling rate unsigned int bytesPerSec; // samplesPerSec * channels * (bitsPerSample/8) unsigned short blockAlign; // block align unsigned short bitsPerSample; // bits per sampling } stWaveFormat; // PCMWAVEFORMAT unsigned char hdrData[4]; // data unsigned int sizeOfData; // Waveデーターサイズ }; //関数間の引数 struct TagParam { unsigned int sizeOfData; // Waveデーターサイズ unsigned short channels; // チャンネル数 unsigned int samplesPerSec; // Hz unsigned int bytesPerSec; // バイト数/sec unsigned short bitsPerSample; // 8 bits or 16 bits long posOfData; // position of begnning of WAV datas float secPerCycle; // 間隔:秒 long cycleuSec; // 間隔:μ秒 float fAmp; // ボリューム倍率 }; #pragma pack(pop) WaveFileHeader waveFileHeader; WaveFormat waveFmtPcm; TagChank chank; TagParam sp; // wav ヘッダ作成 long wavHeaderWrite(FILE *fp, TagParam* sp) { unsigned short bytes; WrSWaveFileHeader wHdr; strncpy((char *)wHdr.hdrRiff,STR_RIFF,sizeof wHdr.hdrRiff); // RIFF ヘッダ wHdr.sizeOfFile=sp- sizeOfData+sizeof(WrSWaveFileHeader)-8;// ファイルサイズ strncpy((char *)wHdr.hdrWave,STR_WAVE,sizeof wHdr.hdrWave); // WAVE ヘッダ strncpy((char *)wHdr.hdrFmt,STR_fmt,sizeof wHdr.hdrFmt); // fmt チャンク wHdr.sizeOfFmt=sizeof wHdr.stWaveFormat; // fmt チャンク,無圧縮wav は 16 wHdr.stWaveFormat.formatTag=1; // 無圧縮PCM = 1 wHdr.stWaveFormat.channels=sp- channels; // ch (mono=1, stereo=2) wHdr.stWaveFormat.samplesPerSec=sp- samplesPerSec; // sampleng rate(Hz) bytes = sp- bitsPerSample / 8; // bytes/sec wHdr.stWaveFormat.bytesPerSec= bytes * sp- channels * sp- samplesPerSec; // bytes / sec wHdr.stWaveFormat.blockAlign=bytes * sp- channels; // byte/サンプル*チャンネル wHdr.stWaveFormat.bitsPerSample=sp- bitsPerSample; // 16 bit / sample strncpy((char *)wHdr.hdrData,STR_data,sizeof wHdr.hdrData); // dataチャンク wHdr.sizeOfData=sp- sizeOfData; // データ長 (byte) fwrite( wHdr, sizeof wHdr, 1, fp); // write header return ftell(fp); } // 8 bits/sampling int efffect8BitWav(FILE *fpIn, FILE *fpOut, TagParam* sp) { unsigned int i; long curSampling, samplingsPerCycle; float tempSampPerCycle, deltaDegree, curDegree, degree; unsigned char In[2]={0,0}; long oneSampleData=(sp- bitsPerSample/8)*sp- channels; tempSampPerCycle=(float)((float)(sp- samplesPerSec)*sp- secPerCycle); samplingsPerCycle=(long)tempSampPerCycle; if(samplingsPerCycle =0) { printf( 周波数が高すぎます.\n ); return -1; } printf( デジタルで処理するため実際の周波数は %.2f [Hz]です.\n , (float)sp- samplesPerSec/(float)samplingsPerCycle); deltaDegree=360.0f/(float)samplingsPerCycle; //1サンプル単位角度 curDegree=0.0f; //初期化 curSampling=0; //初期化 for (i = 0; i sp- sizeOfData/oneSampleData ; i++) { if(fread( In, oneSampleData, 1, fpIn) != 1) return -1; degree = (float)curDegree*(float)PAI/(float)180.0f ; In[0]=(char)((float)(In[0]-128)*((sin(degree)+1.0f)/2.0f))+128; In[1]=(char)((float)(In[1]-128)*((sin(degree)+1.0f)/2.0f))+128; // モノラルの場合意味は持たない if(fwrite(In, oneSampleData, 1, fpOut) != 1) return -1; curDegree+=deltaDegree; curSampling++; if(curSampling =samplingsPerCycle) { curDegree=0.0f; curSampling=0; } } return 0; } // 16 bits/sampling int efffect16BitWav(FILE *fpIn, FILE *fpOut, TagParam* sp) { unsigned int i; long curSampling, samplingsPerCycle; float tempSampPerCycle, deltaDegree, curDegree, degree; short In[2]={0,0}; long oneSampleData=(sp- bitsPerSample/8)*sp- channels; tempSampPerCycle=(float)((float)(sp- samplesPerSec)*sp- secPerCycle); samplingsPerCycle=(long)tempSampPerCycle; if(samplingsPerCycle =0) { printf( 周波数が高すぎます.\n ); return -1; } printf( デジタルで処理するため実際の周波数は %.2f [Hz]です.\n , (float)sp- samplesPerSec/(float)samplingsPerCycle); deltaDegree=360.0f/(float)samplingsPerCycle; //1サンプル単位角度 curDegree=0.0f; //初期化 curSampling=0; //初期化 for (i = 0; i sp- sizeOfData/oneSampleData ; i++) { if(fread( In, oneSampleData, 1, fpIn) != 1) return -1; degree = (float)curDegree*(float)PAI/(float)180.0 ; In[0]=(short)((float)In[0]*((sin(degree)+1.0f)/2.0f)); In[1]=(short)((float)In[1]*((sin(degree)+1.0f)/2.0f)); // モノラルの場合意味は持たない if(fwrite(In, oneSampleData, 1, fpOut) != 1) return -1; curDegree+=deltaDegree; curSampling++; if(curSampling =samplingsPerCycle) { curDegree=0.0f; curSampling=0; } } return 0; } //wav データ書き込み int wavDataWrite(FILE *fpIn, FILE *fpOut, TagParam* sp) { int rVal; fseek(fpIn, sp- posOfData, SEEK_SET); //元ファイルのデータ開始部分へ if(sp- bitsPerSample==8) rVal=efffect8BitWav(fpIn, fpOut, sp); else rVal=efffect16BitWav(fpIn, fpOut, sp); return rVal; } // ファイル内容書き出し int wavWrite(char *inFile, char *outFile, TagParam* sp) { FILE *fpIn, *fpOut; if((fpOut = fopen(outFile, wb )) == NULL) { printf( %s をオープンできません.\n , outFile); return -1; } if(wavHeaderWrite(fpOut, sp) != 44) // wav ヘッダ書き込み { printf( ヘッダを書き込めません %s\n , outFile); fclose(fpOut); return -1; } if((fpIn = fopen(inFile, rb )) == NULL) { printf( %s をオープンできません.\n , inFile); fclose(fpOut); return -1; } if(wavDataWrite(fpIn, fpOut, sp )!=0) // wav データ書き込み { printf( wavDataWriteでエラー発生.\n ); fclose(fpIn); fclose(fpOut); return -1; } fclose(fpIn); fclose(fpOut); return 0; } bool readfmtChunk(FILE *fp, WaveFormat* waveFmtPcm){ if(fread(waveFmtPcm, sizeof(WaveFormat), 1, fp) != 1)return false; printf( データ形式 %u (1 = PCM)\n , waveFmtPcm- FormatTag); printf( チャンネル数 %u\n , waveFmtPcm- Channels); printf( サンプリング周波数 %lu [Hz]\n , waveFmtPcm- SamplingRate); printf( バイト数 / 秒 %lu [bytes/sec]\n , waveFmtPcm- BytesPerSec); printf( バイト数×チャンネル数 %u [bytes]\n , waveFmtPcm- BlockAlign); printf( ビット数 / サンプル %u [bits/sample]\n , waveFmtPcm- BitsPerSample); if(waveFmtPcm- Channels != 2) { printf( \nこのプログラムはステレオのファイルを対象とします.\n ); printf( このwavファイルのチャンネル数は %d です.\n , waveFmtPcm- Channels); return false; } if(waveFmtPcm- FormatTag != 1) { printf( \nこのプログラムは無圧縮PCMのみを対象とします.\n ); printf( このwavファイルの形式は %04X です.\n , waveFmtPcm- FormatTag); return false; } if(waveFmtPcm- BitsPerSample != 8 waveFmtPcm- BitsPerSample != 16) { printf( \nこのプログラムは8/16ビットサンプリングされたものを対象とします\n ); printf( このwavファイルの bits/secは %d です.\n , waveFmtPcm- BitsPerSample); return false; } return true; } bool WaveHeaderRead(char *wavefile, TagParam* sp){ long fPos, len; FILE *fp; errno_t err; if (err=fopen_s( fp,wavefile, rb ) !=0){ printf( %sをオープンできません\n , wavefile); return false; } printf( \n%s \n , wavefile); // ヘッダ情報 if (fread( waveFileHeader, sizeof waveFileHeader, 1, fp) != 1){ printf( %ld で読み込み失敗\n , ftell(fp)); fclose(fp); return false; } if(strncmp( waveFileHeader.Riff, RIFF , 4) != 0){ printf( RIFF フォーマットでない\n ); fclose(fp); return false; } // WAVE ヘッダ情報 if (memcmp(waveFileHeader.Wave, WAVE , 4) != 0){ printf( WAVE が無い\n ); fclose(fp); return false; } // 4Byte これ以降のバイト数 = (ファイルサイズ - 8)(Byte) len = waveFileHeader.FileSize; // チャンク情報 while (fread( chank, sizeof chank, 1, fp) == 1){ if(memcmp( chank.Fmt, fmt , sizeof chank.Fmt) == 0){ len=chank.FmtSize; printf( \ fmt \ の長さ %ld [bytes]\n\n , len); fPos = ftell(fp); if(! readfmtChunk( fp, waveFmtPcm))return false; sp- samplesPerSec=waveFmtPcm.SamplingRate; // サンプリング周波数(Hz) sp- bitsPerSample=waveFmtPcm.BitsPerSample; // サンプリングビット数 sp- channels=waveFmtPcm.Channels; // チャンネル数 sp- bytesPerSec=waveFmtPcm.BytesPerSec; // バイト数/sec fseek(fp, fPos + len, SEEK_SET); }else if(memcmp(chank.Fmt, data , 4) == 0){ len = chank.FmtSize; sp- sizeOfData=chank.FmtSize; printf( \n\ data\ の長さ %ld [bytes]\n , len); fPos = ftell(fp); sp- posOfData=ftell(fp); fseek(fp, len + fPos - 4, SEEK_SET); break; }else{ len=chank.FmtSize; printf( \ %c%c%c%c\ の長さ %ld [bytes]\n\n , chank.Fmt[0],chank.Fmt[1], chank.Fmt[2],chank.Fmt[3], len); fPos = ftell(fp); fseek(fp, fPos + len, SEEK_SET); } } fclose(fp); return true; } void main(int argc, char *argv[]){ printf( wav ファイルのボリュームを変化させます.\n ); sp.secPerCycle=Length; WaveHeaderRead(INFileName, sp); wavWrite(INFileName , OUTFileName, sp); printf( \n%s を %sへ変換しました.\n , INFileName, OUTFileName); printf( \n%s を生成しました.\n , OUTFileName); getchar(); return; }
https://w.atwiki.jp/403mister/pages/13.html
・Python-Modules Python-Modulesは、Pythonのライブラリのこと(のはず)であり、それぞれのクラスから、様々な便利な機能を実装することができるようになっています。 以下に、各クラスの簡単な説明を書いていきます。 AutoComplete This extension can complete either attribute names of file names. It can pop a window with all available names, for the user to select from. この拡張は、ファイル名の名前を完結させることもでき、また属性を与えることもできる(?) ユーザーにとって、選ぶために、それは全ての利用可能な名前を持って、ウィンドウをポップすることができる。 AutoCompleteWindow AutoExpand BaseHTTPServer Note the class in this module doesn t implement any HTTP request; see SimpleHTTPServer for simple implementations of GET, HEAD and POST (including CGI scripts). It does, however, optionally implement HTTP/1.1 persistent connections, as of version 0.3. Contents - BaseHTTPRequestHandler HTTP request handler base class - test test function XXX To do - log requests even later (to capture byte count) - log user-agent header and other interesting goodies - send error log to separate file メモ: このモジュールにおけるそのクラスはHTTPリクエストを実行するわけではない:GET、HEADそしてPOSTメソッドの簡単な実行のためにSimpleHTTPServerを参照しなさい。(CGIスクリプトを含んでいる)。しかしながら、それは任意にVer 0.3のものとして、HTTP/1.1の永続的な接続を実行する。 内容: CallTipWindow After ToolTip.py, which uses ideas gleaned from PySol Used by the CallTips IDLE extension. CallTips Call Tips are floating windows which display function, class, and method parameter and docstring information when you type an opening parenthesis, and which disappear when you type a closing parenthesis. Canvas ClassBrowser CodeContext ColorDelegator ConfigParser Cookie Debugger Delegator Dialog DocXMLRPCServer EditorWindow FileDialog FileList FixTk FormatParagraph GrepDialog HTMLParser IOBinding IdleHistory MimeWriter MultiCall MultiStatusBar ObjectBrowser OutputWindow ParenMatch PathBrowser Percolator PyParse PyShell Queue RemoteDebugger RemoteObjectBrowser ReplaceDialog RstripExtension ScriptBinding ScrolledList ScrolledText SearchDialog SearchDialogBase SearchEngine SimpleDialog SimpleHTTPServer SimpleXMLRPCServer SocketServer StackViewer StringIO Tix Tkconstants Tkdnd Tkinter ToolTip TreeWidget UndoDelegator UserDict UserList UserString WidgetRedirector WindowList ZoomHeight _LWPCookieJar _MozillaCookieJar __builtin__ __future__ _abcoll _ast _bisect _bsddb _codecs _codecs_cn _codecs_hk _codecs_iso2022 _codecs_jp _codecs_kr _codecs_tw _collections _csv _ctypes _ctypes_test _elementtree _functools _hashlib _heapq _hotshot _io _json _locale _lsprof _md5 _msi _multibytecodec _multiprocessing _pyio _random _sha _sha256 _sha512 _socket _sqlite3 _sre _ssl _strptime _struct subprocess _symtable _testcapi _threading_local _tkinter _warnings _weakref _weakrefset _winreg abc aboutDialog aifc antigravity anydbm argparse array ast asynchat asyncore atexit audiodev audioop base64 bdb binascii binhex bisect bsddb baz2 cPickle cProfile cStringIO calendar cgi cgitb chunk cmath cmd code codecs codeop collections colorsys commands compileall compiler configDialog configHandler configHelpSourceEdit configSectionNameDialog contextlib cookielib copy copy_reg csv ctypes curses datetime dbhash decimal difflib dircache dis distutils doctest dumbdbm dummy_thread dummy_threading dynOptionMenuWidget email encodings errno exceptions filecmp fileinput fnmatch formatter fpformat fractions ftplib functools future_builtins gc genericpath getopt getpass gettext glob gzip hashlib heapq hmac hotshot htmlentitydefs htmllib httplib idle idlelib idlever ihooks imageop imaplib imghdr imp importlib imputil inspect io itertools json keybindingDialog keyword lib2to3 linecache locale logging macosxSupport macpath macur12path mailbox mailcap markupbase marshal math md5 mhlib mimetools mimetypes mimify mmap modulefinder msilib msvcrt multifile multiprocessing mutex netrc new nntplib nt ntpath ntur12path numbers opcode operator optparse os os2emxpath parser pdb pickle pickletools pipes pkgutil platform plistlib popen2 poplib posixfile posixpath pprint profile pstats pty py_compile pyclbr pydoc pydoc_data pyexpat quopri random re repr rexec rfc822 rlcompleter robotparser rpc run runpy sched select sets sgmllib sha shelve shlex shutil signal site smtpd smtplib sndhdr socket sqlite3 sre sre_compile sre_constants sre_parse ssl stat statvfs string stringold stringprep strop struct subprocess sunau sunaudio symbol symtable sys sysconfig tabbedpages tabnanny tarfile telnetlib tempfile test testcode testView testwrap this thread threading time timeit tkColorChooser tkCommonDialog tkFileDialog tkFont tkMessageBox tkSimpleDialog toaiff token tokensize trace traceback ttk tty turtlr types unicodedata unittest urllib urllib2 urlparse user uu uuid warnings wave weakref webbrowser whichdb winsound wsgiref xdrlib sml smllib smlrpclib xxsubtype zipfile zipimport zlib